#include <stdio.h>

int main(int argc, char const *argv[])
{
    int a,b;
    printf("请输入2个整数>:");
    scanf("%d%d",&a,&b);
    printf("a=%d,b=%d\n",a,b);

    int *pa = &a ,*pb = &b;

    int min = (*pa < *pb)?*pa:*pb;      //比较*pa 和*pb 输出小的
    printf("min=%d\n",min);

    return 0;
}
